﻿using System;
using System.Collections.Generic;

namespace Chengheng.Entity.Commodity;

/// <summary>
/// 商品_商品
/// </summary>
public partial class Commodity
{
    public long Id { get; set; }

    /// <summary>
    /// 品牌
    /// </summary>
    public string? BrandName { get; set; }

    /// <summary>
    /// 成本价格
    /// </summary>
    public decimal? CostPrice { get; set; }

    /// <summary>
    /// 折扣
    /// </summary>
    public decimal? Discount { get; set; }

    /// <summary>
    /// 积分
    /// </summary>
    public int? Integral { get; set; }

    /// <summary>
    /// 上市年份
    /// </summary>
    public string? ListingYear { get; set; }

    /// <summary>
    /// 品名
    /// </summary>
    public string? Name { get; set; }

    /// <summary>
    /// 季节名称
    /// </summary>
    public string? SeasonName { get; set; }

    /// <summary>
    /// 是否上架
    /// </summary>
    public sbyte? Shelf { get; set; }

    /// <summary>
    /// 款号
    /// </summary>
    public string StyleNumber { get; set; } = null!;

    /// <summary>
    /// 吊牌价
    /// </summary>
    public decimal TagPrice { get; set; }

    public long TenantId { get; set; }

    /// <summary>
    /// 总吊牌价格
    /// </summary>
    public decimal? TotalTagPrice { get; set; }

    /// <summary>
    /// 总数量
    /// </summary>
    public int? TotalQuantity { get; set; }

    /// <summary>
    /// 单位
    /// </summary>
    public string? UnitName { get; set; }

    /// <summary>
    /// 商品_字典_分类_id
    /// </summary>
    public long CommodityDictClassificationId { get; set; }

    public ICollection<CommodityDetail>? CommodityDetails { get; set; }
}
